/* 
 * File:   Circle.h
 * Author: mauro
 *
 * Created on 9 de septiembre de 2014, 17:49
 */

#ifndef CIRCLE_H
#define	CIRCLE_H

#include "Object.h"
#include "ObjFactory.h"
#include "SkinFactory.h"
#include "SBSImage.h"
#include "Dot.h"
#include <Box2D/Box2D.h>

class Circle {
public:
    
    Circle(ObjFactory *objFactory, bool flagStatic, float x, float y, int scale, float mass);

    void draw(Uint8 r,Uint8 g,Uint8 b,Uint8 a);

    b2Vec2 getPosition();
    float getAngle();
    float getAngularVelocity();
    
    void setAngularVelocity(float velocity);
    
    
    virtual ~Circle();
private:
    Object* object;
    Dot* dot;
    int scale;
    //necesarias para dibujar la imagen
    SBSImage* ballImage;
    SDL_Renderer* renderer;
    ObjFactory* objFactory;
};

#endif	/* CIRCLE_H */

